/*******************************************************************
 *
 * Copyright (C), 2022-2027, YouGan, All rights reserved.
 *
 * Author      : zhaoyang
 * Create Time : 2022-10-13
 * Version     : v0.1
 * Description : 
 *******************************************************************/
#ifndef __GS_REG_LIS3DH_H__
#define __GS_REG_LIS3DH_H__

/*----------------------------Head file----------------------------*/

/*----------------------------macro file---------------------------*/
#define GS_DEVICE_ID		0x33

// LIS2DH Registers.
#define GS_STATUS_REG_AUX    0x07
#define GS_OUT_TEMP_L        0x0C
#define GS_OUT_TEMP_H        0x0D
#define GS_INT_COUNTER_REG   0x0E
#define GS_WHO_AM_I          0x0F
#define GS_CTRL_REG1         0x20
#define GS_CTRL_REG2         0x21
#define GS_CTRL_REG3         0x22
#define GS_CTRL_REG4         0x23
#define GS_CTRL_REG5         0x24
#define GS_CTRL_REG6         0x25
#define GS_CTRL_REG6         0x25
#define GS_REF_DCAPTURE      0x26
#define GS_STATUS_REG        0x27
#define GS_OUT_X_L           0x28
#define GS_OUT_X_H           0x29
#define GS_OUT_Y_L           0x2A
#define GS_OUT_Y_H           0x2B
#define GS_OUT_Z_L           0x2C
#define GS_OUT_Z_H           0x2D
#define GS_FIFO_CTRL_REG     0x2E
#define GS_SRC_REG           0x2F
#define GS_INT1_CFG          0x30
#define GS_INT1_SRC          0x31
#define GS_INT1_THS          0x32
#define GS_INT1_DURATION     0x33
#define GS_INT2_CFG          0x34
#define GS_INT2_SRC          0x35
#define GS_INT2_THS          0x36
#define GS_INT2_DURATION     0x37
#define GS_CLICK_CFG         0x38
#define GS_CLICK_SRC         0x39
#define GS_CLICK_THS         0x3A
#define GS_TIME_LIMIT        0x3B
#define GS_TIME_LATENCY      0x3C
#define GS_TIME_WINDOW       0x3D
#define GS_ACT_THS           0x3E
#define GS_ACT_DUR           0x3F

/*----------------------------type define--------------------------*/

/*--------------------------var declarative------------------------*/

/*-----------------------------------------------------------------*/


#endif // __GSENSOR_REG_H__

